# $Id: PKGBUILD 66682 2012-02-27 10:02:48Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
# Maintainer: M Rawash <mrawash@gmail.com>

pkgname=viewnior
pkgver=1.3
pkgrel=1
pkgdesc="A simple, fast and elegant image viewer program"
arch=('i686' 'x86_64')
url="http://xsisqox.github.com/Viewnior/"
license=('GPL3')
depends=('gtk2>=2.12')
makedepends=('make' 'intltool>=0.35' 'pkgconfig>=0.9' 'perl>=5.8.1')
install=viewnior.install
source=(http://cloud.github.com/downloads/xsisqox/Viewnior/$pkgname-$pkgver.tar.gz)
md5sums=('273c379933ae3e74ad414fde00198695')

build() {
  cd $pkgname-$pkgver
  LDFLAGS=-lm ./configure --prefix=/usr
  make
  make DESTDIR="$pkgdir" install
}
